import { createStore } from 'vuex'
import getters from './getters'
import user from './modules/user'
import app from './modules/app'
import permission from './modules/permission'
import roleManagment from './modules/roleManagment'
import userManagement from './modules/userManagement'
import deptManagement from './modules/deptManagement'
import skip from './modules/skip'

export default createStore({
  getters,
  modules: {
    user,
    app,
    permission,
    roleManagment,
    userManagement,
    deptManagement,
    skip
  }
})

